package com.monika.main.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author whh
 * @Date: 2023/04/14/ 22:05
 * @description
 */
@Configuration
@EnableScheduling
@EnableAspectJAutoProxy
@ComponentScan(basePackages = {AppConfig.COMPONENT_SCAN})
@MapperScan(basePackages = { AppConfig.SYS_MAPPER_SCAN,AppConfig.SERVICE_MAPPER_SCAN})
public class AppConfig {


    protected static final String COMPONENT_SCAN = "com.monika";


    protected static final String  SYS_MAPPER_SCAN = "com.monika.main.system.dao";
    protected static final String  SERVICE_MAPPER_SCAN = "com.monika.service.dao";


}
